import { WebPlugin } from '@capacitor/core';

import type {
  IsQQInstalledResult,
  LoginOption,
  LoginResult,
  TencentQQPlugin,
} from './definitions';

export class TencentQQWeb extends WebPlugin implements TencentQQPlugin {
  async login(option: LoginOption): Promise<LoginResult | null> {
    console.log('login', option);
    return null;
  }
  async isQQInstalled(): Promise<IsQQInstalledResult> {
    console.log('isQQInstalled');
    return { installed: false };
  }
}
